import request from "@/utils/request";

//获取获取志愿活动管理列表
export function getVoluntaryList(param) { 
    return request({
        url: "/voluntary/management/list",
        method: "get",
        params: param
    });
}

// 审核志愿活动
export function auditVoluntary(param) { 
    return request({
        url: "/voluntary//management/audit",
        method: "post",
        data: param
    });
}

// 查询志愿活动详情
export function getVoluntaryDetail(activityId) { 
    return request({
        url: "/voluntary/detail/" + activityId,
        method: "get"
    });
}